﻿

namespace MyCompany.MyProject.Common.Option
{
    public class RedisOption: IConfigurableOptions
    {
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enable { get; set; }

        /// <summary>
        /// Redis 连接字符串
        /// </summary>
        public string? ConnectionString { get; set; }

        /// <summary>
        /// 键值前缀
        /// </summary>
        public string? InstanceName { get; set; }
    }
}
